Use small Populace US bundle by default#443
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
populace-us-2024-f0af251-703bd81a565c-20260620T201958Zas the defaultpolicyengine.pyUS datasetpolicyengine-us==1.729.0while leavingpolicyengine-core==3.28.0and UK pins unchangedmetadata.region_datasetsRationale
The current default US Populace artifact is the 224,026-household / ~1.2 GB build. The latest small certified public Populace artifact is the 75,112-household / ~349 MB
f0af251release. This PR makes that smaller artifact the default again to reduce app/API load while preserving explicit bundle certification metadata.Validation
uv run python scripts/bundle.py checkuv run ruff format --check src/policyengine/provenance/certification.py tests/test_certify_data_release.py tests/test_release_manifests.py tests/test_models.py tests/test_us_regions.pyuv run ruff check src/policyengine/provenance/certification.py tests/test_certify_data_release.py tests/test_release_manifests.py tests/test_models.py tests/test_us_regions.pygit diff --checkuv run --extra models python - <<'PY' ...resolvedpolicyengine-us 1.729.0,policyengine-core 3.28.0,policyengine-uk 2.89.2uv run --extra models pytest tests/test_bundle.py tests/test_release_manifests.py tests/test_models.py tests/test_us_regions.py tests/test_certify_data_release.py -q(139 passed, 1 warning)uv buildpopulace-us-2024-f0af251-703bd81a565c-20260620T201958Zandpolicyengine-us==1.729.0; wheel has 0__pycache__entries